package com.wisely.highlight_spring4.ch3.bean1;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
	
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context =
                new AnnotationConfigApplicationContext(DemoConfig.class);

		String[] beanDefinitionNames = context.getBeanDefinitionNames();
		for(String beanName:beanDefinitionNames){
			System.out.println(beanName);
		}


		context.close();
	}

}
